<ui:fragment xmlns="http://w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">



		<h:form prependId="false">

			<div class="row-fluid">
				<div class="span2 text-right">
					<p:outputLabel value="De" for="txtInicio" />
				</div>
				<div class="span10">
					<p:calendar value="#{relatorioBean.periodo.start}" showButtonPanel="true"
						showOn="button" pattern="dd/MM/yyyy" required="true"
						requiredMessage="A data inicial deve ser informada."
						id="txtInicio">
						<f:converter binding="#{calendarConverter}" />
					</p:calendar>

					<p:message for="txtInicio"></p:message>
					
				</div>
			</div>
			
			<div class="row-fluid margin-top">
				<div class="span2 text-right">
					<p:outputLabel value="Até" for="txtFinal" />
				</div>
				<div class="span10">
					<p:calendar value="#{relatorioBean.periodo.end}" showButtonPanel="true"
						showOn="button" pattern="dd/MM/yyyy" required="true"
						requiredMessage="A data final deve ser informada."
						id="txtFinal">
						<f:converter binding="#{calendarConverter}" />
					</p:calendar>
		
					<p:message for="txtFinal"></p:message>
				</div>
			</div>
			<div class="row-fluid">
				<div class="span2"></div>
				<div class="span10">
					<p:commandLink value="Gerar" styleClass="btn-virtual" action="#{relatorioBean.gerarEIr()}" ajax="false" />
				</div>
			</div>
		</h:form>
		
</ui:fragment>